<div class="tabnav"><ul><li {if $ac=='index'}class="select"{/if}><a href="{tsUrl('article')}"><span>最新文章</span></a></li>{loop $arrCate $key $item}<li {if $ac=='cate' && $cateid==$item['cateid']}class="select"{/if}><a href="{tsUrl('article','cate',array('id'=>$item['cateid']))}"><span>{$item['catename']}</span></a></li>{/loop}<li {if $ac=='tags'}class="select"{/if}><a href="{tsUrl('article','tags')}">标签</a></li><li {if $ac=='add'}class="select"{/if}><a href="{tsUrl('article','add')}">写文章</a></li></ul></div><div class="clear"></div>